package com.mindata.blockchain.core.model;

import com.mindata.blockchain.core.model.base.BaseEntity;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author ycw
 * @Date 2023/3/29 15:17
 * @Version 1.0
 */
@Entity
@Table(name = "gw_user")
@Data
public class GwUser extends BaseEntity {


    /**
     * 用户id 唯一标识
     */
    private String uid;
    /**
     * 用户名 不做唯一限制
     */
    private String uName;
    /**
     * 密码，MD5加密
     */
    private String uPassword;
    /**
     * 用户权益金
     */
    private BigDecimal uToken;
    /**
     * 用户创建区块
     */
    private String cBlockHash;
    /**
     * 用户密码修改区块
     */
    private String uBlockHash;

}
